package com.baizw.cultivation.module.admin.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 资源树下拉
 *
 * @author 剧终1204
 * @version V1.0
 * @date 2020年06月22日 17:58
 */
@Data
@ApiModel("资源树下拉实体")
public class ResourceTreeSelect implements Serializable {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("父级ID")
    private Long pId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("选中值")
    private String value;

    @ApiModelProperty("是否是叶子节点")
    private boolean leaf;

    private List<ResourceTreeSelect> children;

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }
}
